package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import cn.com.pet.common.dao.PicMapper;
import cn.com.pet.common.entity.Pic;
import cn.com.pet.common.service.PicService;
@Service("picService")
public class PicServiceImpl implements PicService {
	
	@Autowired
	PicMapper picMapper;

	@Override
	public List<Pic> getPics(Pic pic) {
		// TODO Auto-generated method stub
		return picMapper.getPics(pic);
	}

	@Override
	public void addPic(Pic pic) {
		// TODO Auto-generated method stub
		picMapper.addPic(pic);
	}

	@Override
	public void updatePic(Pic pic) {
		// TODO Auto-generated method stub
		picMapper.updatePic(pic);
	}
	
}
